home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-05-08 | 970 b | 31 lines | [TEXT/MMCC] |
- //==================================================================
- // MacGame.h <tur 01-May-94>
- //
- // Interface for MacWT.c
- //
- // Comments, Bug Reports/Fixes, etc, to turly@isltd.insignia.com
- //
- //==================================================================
-
- // This many pixels are left at the bottom of our window
- // for info purposes...(frames per second, etc.)
-
- #define kBottomBorder 34
-
-
- extern PixMap gOffscreenPixMap;
- extern WindowPtr gWTFTWindow;
- extern EventRecord gTheEvent;
- extern Boolean gDone, gUseQuickDraw, gPaused, gShowFPS, gGameOn;
- extern char gWorldFileName[];
- extern Str15 gWTVersion;
-
- extern int LoadPaletteFromFile(PaletteHandle pal, const char *palFile);
- extern void RefreshWTWindow(void);
-
- enum {gotNoEvent, gotOtherEvent, gotKeyEvent};
-
- extern int GetAndProcessEvent(void); // returns TRUE if we had an event...
- extern void BeginGame(void); // game begins...
- extern void TogglePause(void); // pause/continue game
-